WP_Statistics\Service\Admin\Posts\PostsManager S

Total Complexity 49
Dependencies 13
Dependents 2
Total lines 364
Lines of code 180
Logical lines of code 89
Comment lines 122
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
getPostStatisticsSummary()
A
38 12 65
initHitsColumn()
A
48 13 28
__construct()
S
55 6 17
enqueueSidebarPanelAssets()
S
57 5 16
addPostMetaBoxes()
S
52 4 30
shouldDisplaySummaryMetabox()
S
76 3 3
shouldDisplayLatestVisitorsMetabox()
S
76 2 3
addWordsCountCallback()
S
80 1 3
removeWordsCountCallback()
S
80 1 3
deletePostHits()
S
70 1 6
deleteTermHits()
S
70 1 6